package com.itboye.jinpuyiyuan.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * "DEPT_LIST": [{
 "DEPTID": "0001  ",
 "ITEM_LIST": [{
 "ITEMID": "0105",
 "ITEMNAME": "内科（专家）",
 "ITEMSEX": "3",
 "ITEMPRICE": "10.00",
 "ITEMSTATE": "0",
 "ITEMREMARKS": ""
 }]
 }]
 */
public class OptionMenuBean implements Serializable {
    @SerializedName("DEPT_LIST")
    List<Depts> dept_list;


    public List<Depts> getDept_list() {
        return dept_list;
    }

    public void setDept_list(List<Depts> dept_list) {
        this.dept_list = dept_list;
    }

    public class Depts implements Serializable{

        @SerializedName("DEPTID")
        String deptid;

        @SerializedName("ITEM_LIST")
        ArrayList<Items> item_list;

        public ArrayList<Items> getItem_list() {
            return item_list;
        }

        public void setItem_list(ArrayList<Items> item_list) {
            this.item_list = item_list;
        }

        public String getDeptid() {
            return deptid;
        }

        public void setDeptid(String deptid) {
            this.deptid = deptid;
        }

        public class Items implements Serializable{

            //选择套餐
            int selects;
            String dept;//记录deptid
            @SerializedName("ITEMID")
            String itemid;

            @SerializedName("ITEMNAME")
            String itemname;

            @SerializedName("ITEMSEX")
            String itemsex;

            @SerializedName("ITEMPRICE")
            String itemprice;

            @SerializedName("ITEMSTATE")
            String itemstate;

            @SerializedName("ITEMREMARKS")
            String itemremarks;

            public String getDept() {
                return dept;
            }

            public void setDept(String dept) {
                this.dept = dept;
            }

            public int getSelects() {
                return selects;
            }

            public void setSelects(int selects) {
                this.selects = selects;
            }

            public String getItemname() {
                return itemname;
            }

            public void setItemname(String itemname) {
                this.itemname = itemname;
            }

            public String getItemsex() {
                return itemsex;
            }

            public void setItemsex(String itemsex) {
                this.itemsex = itemsex;
            }

            public String getItemprice() {
                return itemprice;
            }

            public void setItemprice(String itemprice) {
                this.itemprice = itemprice;
            }

            public String getItemstate() {
                return itemstate;
            }

            public void setItemstate(String itemstate) {
                this.itemstate = itemstate;
            }

            public String getItemremarks() {
                return itemremarks;
            }

            public void setItemremarks(String itemremarks) {
                this.itemremarks = itemremarks;
            }

            public String getItemid() {
                return itemid;
            }

            public void setItemid(String itemid) {
                this.itemid = itemid;
            }
        }

    }
}
